package com.glsc.ngateway.oaflow.constant;

/**
 * @Title: MessageEum
 * @Description: 消息枚举类
 * @author: 张宁
 * @version: 1.0.0
 * @date: 2020/12/21 16:29
 */


public enum FlowStatusEum {

    NOTICE(1, "NOTICE"),  // 中证反馈消息
    SUCCESS(0, "SUCCESS"),
    ERROR(-1, "ERROR"),
    EXCEPTION(-2, "EXCEPTION");

    private int code;

    private String status;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    private FlowStatusEum(int code, String status) {
        this.code = code;
        this.status = status;
    }

}
